package com.study_security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("sys_log")
public class SysLog {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String userName;

    private String operationType;

    private String requestUrl;

    private String method;

    private String params;

    private Long responseTime;

    private String status;

    private LocalDateTime createdAt;

}

